﻿using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using MimeKit;
using System.Collections;

namespace Rnwood.Smtp4dev.ApiModel
{
	public class MessageEntitySummary
	{
		public string Id { get; set; }

		public List<Header> Headers { get; set; }
		public List<MessageEntitySummary> ChildParts { get; set; }
		public string Name { get; set; }
		public Guid MessageId { get; set; }
		public string ContentId { get; set; }
		public List<AttachmentSummary> Attachments { get; set; }

		public int Size { get; set; }

		[JsonIgnore]
		internal MimeEntity MimeEntity { get; set; }
	}
}
